GithubHelp home page GithubHelp logo

Comments (3)

vangulo-trulia avatar vangulo-trulia commented on September 2, 2024

Hi Ravi,

That error is usually in response to the parameters in the query not being understood by the server you are connecting to.

Can you send over an example of the parameters you are passing to SearchRequest with any select fields you may also be passing?

from trulia-java-rets-client.

Jinoooo avatar Jinoooo commented on September 2, 2024

I have the same issue. I want to download everything for residential. What should be the query and the select parameters?
Currently I am using the following with Invalid query type error:

		 String sQuery = "(Member_num=.ANY.)";
//		String sQuery = "*";
		String sResource = "Property";
		String sClass = "Residential";
//		String sClass = "A";

		//Create a SearchRequest
		SearchRequest request = new SearchRequest(sResource, sClass, sQuery);

		//Select only available fields
		String select ="toronto"; //,field3,field4,field5";
		request.setSelect(select);

from trulia-java-rets-client.

kuldeep116 avatar kuldeep116 commented on September 2, 2024

I have the same issue. I want to download everything for residential. What should be the query and the select parameters?
Currently I am using this .code run successfully but we get only status value .not other fields value .what we pass in select parameters then we get all fields data .

        String sQuery = "(Status=|A)";
	String sResource = "Property";
	String sClass = "ResidentialProperty";
	// Create a SearchRequest
	SearchRequest request = new SearchRequest(sResource, sClass, sQuery);
	// Select only available fields
	String select = "Status,community_code,addr";
       request.setSelect(select);

from trulia-java-rets-client.

Related Issues (12)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.